#include "snap_def.h"

#ifndef __CRC_16__
#define __CRC_16__

class crc16{
public:
	crc16();
	virtual ~crc16();

	int checksum(unsigned, unsigned &);

private:
	const int crc_tab[256];
}

#endif // __CRC_16__